/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package semant.second_pass;

import semant.Env;
import symbol.ClassInfo;
import symbol.MethodInfo;
import syntaxtree.Statement;
import syntaxtree.VisitorAdapter;
import util.List;

/**
 *
 * @author Thiago
 */
class StatementListHandler extends VisitorAdapter {


     private StatementListHandler()
    {
        super();

    }

    static void secondPass(Env e,ClassInfo c, MethodInfo m, List<Statement> s)
    {
        for(List<Statement> v = s; v!=null; v = v.tail){
            StatementHandler.secondPass(e, c, m, v.head);
        }
    }

}
